/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Business;

import Entity.Etbl_Tour_bookings;
import Model.DALtbl_Tour_bookings;

/**
 *
 * @author mrteo
 */
public class Btbl_Tour_bookings {
    private DALtbl_Tour_bookings _objDALtbl_Tour_bookings = null;
    
    public Btbl_Tour_bookings(){
        _objDALtbl_Tour_bookings = new DALtbl_Tour_bookings();
    }
    
    public boolean addtbl_Tour_bookings(Etbl_Tour_bookings objEtbl_Tour_bookings){
        return _objDALtbl_Tour_bookings.addtbl_Tour_bookings(objEtbl_Tour_bookings);
    }
    
    public boolean edittbl_Tour_bookings(Etbl_Tour_bookings objEtbl_Tour_bookings){
        return _objDALtbl_Tour_bookings.edittbl_Tour_bookings(objEtbl_Tour_bookings);
    }
    
    public boolean deletetbl_Tour_bookings(int tourbookings_Id){
        if(tourbookings_Id > 0){
            return _objDALtbl_Tour_bookings.deletetbl_Tour_bookings(tourbookings_Id);
        }else {
            return  false;
        }
    }
}
